package com.example.demospringboot.flow.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaorui
 * @Date 2024/6/17  16:08
 * @description:
 */

@Slf4j
@RestController
@RequestMapping("/test")
public class TestController {


    @GetMapping("/testGet")
    public String testGet() {
        log.info("请求成功");
        return "success";
    }

}
